module.exports = {
    chainWebpack: config => {
        config
            .plugin('html')
            .tap(args => {
                args[0].title = '小米商城 - Xiaomi 13、Redmi K60、MIX FOLD 2，小米电视官方网站'
                return args
            })
    },
    assetsDir: 'static',
    publicPath: '/',
    transpileDependencies: true,
    devServer: {
        proxy: {
            '/api/*': {
                target: `http://mi.marsview.cc/`,
                changeOrigin: true,

            }
        }
    },
    lintOnSave: false
}
